<p>Since <code>assert</code> statements aren't executed by default (they must be enabled with JVM flags) developers should never rely on their execution the evaluation of any logic required for correct program function.</p>
<h2>Noncompliant Code Example</h2>

<pre>
assert myList.remove(myList.get(0));  // Noncompliant
</pre>
<h2>Compliant Solution</h2>

<pre>
boolean removed = myList.remove(myList.get(0));
assert removed;
</pre>

